home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Browsers, Managers & Extensions / Firefox Backup Extension 6.0.3 / chrome / febe.jar / content / febeResultsPage.js < prev    next >
Text File  |  2008-08-06  |  621b  |  20 lines

  1. // author: Chuck Baker
  2. // contact: febe@customsoftwareconsult.com
  3. // Version 6.0
  4.  
  5. function febeLoadResultsContent(){
  6.   // Load page with content
  7.     var Cc = Components.classes;
  8.     var Ci = Components.interfaces;
  9.     var FEBE_GUID = "{4BBDD651-70CF-4821-84F8-2B918CF89CA3}"  // GUID of this extension
  10.  
  11.     // Get pointer to results page
  12.     var febeDir = Cc["@mozilla.org/file/directory_service;1"].getService(Ci.nsIProperties).get("ProfD", Ci.nsIFile);
  13.     febeDir.append("extensions");
  14.     febeDir.append(FEBE_GUID);
  15.     febeDir.append("FEBEresults.html");
  16.     
  17.     // Load content
  18.     document.location = "file://"+febeDir.path;
  19. }
  20.